hello:
	@echo "    hello test"

nlu-train:
	python /Users/lilong/Desktop/lilong_chatbot/rasa/__main__.py train nlu -u ./data/tmp.md -c ./config_lilong.yml  --out ./models/nlu_model

nlu-test:
	python /Users/lilong/Desktop/lilong_chatbot/rasa/__main__.py  shell -m /Users/lilong/Desktop/lilong_chatbot/lilongbot/models/nlu/nlu-20190908-190316.tar.gz

nlu-test-server:
	# server服务还有问题
	python /Users/lilong/Desktop/lilong_chatbot/rasa/__main__.py  run --enable-api -m /Users/lilong/Desktop/lilong_chatbot/lilongbot/models/nlu/nlu-20190908-190316.tar.gz

core-train:
	python /Users/lilong/Desktop/lilong_chatbot/rasa/__main__.py train core -s ./data/stories.md -c ./config_lilong.yml -d ./domain.yml --out ./models/core_model

nlu_core_trian:
	python /Users/lilong/Desktop/lilong_chatbot/rasa/__main__.py train --data ./data_nlu_core -c ./config_lilong.yml -d ./domain.yml --out ./model_nlu_core


visualize-story:
	python /Users/lilong/Desktop/lilong_chatbot/rasa/__main__.py  visualize -d ./domain.yml -c ./config_lilong.yml -s ./data/stories.md -u ./data/nlu.md --out ./models/story_graph/story_graph.html


shell-nlu:
	python /Users/lilong/Desktop/lilong_chatbot/rasa/__main__.py shell nlu model-as-positional-argument -m ./models/nlu_model

shell-core:
	python /Users/lilong/Desktop/lilong_chatbot/rasa/__main__.py shell nlu -model-as-positional-argument -m models/nlu_model --cors ./models/core_model

shell-talk:
	python /Users/lilong/Desktop/lilong_chatbot/rasa/__main__.py shell -m ./model_nlu_core --debug --log-file out.log

run-talk:
	python /Users/lilong/Desktop/lilong_chatbot/rasa/__main__.py run -d models/core_model -u models/nlu_model